<?php

/**
 * @author shuang
 * @date 2016-11-7 18:53:59
 */
use frontendm\assets\AppAsset;
use yii\helpers\Html;

AppAsset::register($this);

use yii\helpers\Url;

$article = frontendm\models\WB_Article::findOne(5360);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="<?= Yii::$app->charset ?>"/>
        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-touch-fullscreen" content="yes">
        <meta name="keywords" content="微信刷投票,微信刷关注,加关注,微信刷阅读量,回复粉,微信刷粉丝,扫码关注,公众号刷粉,拉票助力任务群,微信手工投票,微信兼职群,图文点赞,公众平台刷粉丝,刷投票平台代理,微信个人号刷粉,刷粉投票平台"/>
        <meta name="description" content="“微信投票平台旨在为大家提供一个诚实守信的网络兼职平台,为日益增加的网络拉票需要提供支持！" />
        <?= Html::csrfMetaTags() ?>
        <title>皓夜科技-任务派发平台  微信兼职平台</title>
        <?php $this->head() ?>
        <script>
            setInterval(function () {
                $.post("/task/ajaxcrontab.html", {}, function (data) {
                }, "json");
            }, 5000);
            function getvtBind(obj) {
                var that = $(obj),
                        $taskid = that.attr("data-taskid"),
                        $tasknum = that.attr("data-tasknum");
                that.attr("disabled", true);
                $.post("/task/validatetask.html", {"taskid": $taskid, "tasknum": $tasknum}, function (data) {
                    if (data.status === true) {
                        location.href = data.url;
                    } else {
                        $.alert(data.msg);
                        that.removeAttr("disabled");
                    }
                }, "json");
            }
        </script>
        <style type="text/css">
            .cls_container{font-size:12px;height:24px;overflow:hidden;}
            .cls_container ul{list-style-type:none;margin:0;padding:0;margin-left:32px;}
            .cls_container ul li{height:24px;line-height:24px;float:left;display:inline;}
            .cls_container ul li a{color:red;}
        </style>
    </head>
    <body>
        <?php $this->beginBody() ?>
        <div class="page-group">
            <div class="page" id="page-my-cash" >
                <?php echo $this->render("header"); ?>
                <?php echo $this->render("footer"); ?>
                <div class="content native-scroll">
                    <div id="myscroll" class="cls_container">
                        <ul>
                            <li><a href="<?php echo Url::toRoute(["article/helpshow", "id" => $article->id]); ?>"><?php echo $article->title; ?></a></li>
                        </ul>
                    </div>
                    <div id="showhint"></div>
                    <?php echo $content; ?>
                </div>
            </div>
        </div>
        <?php $this->endBody() ?>
    </body>
</html>
<?php $this->endPage() ?>